package com.example.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_form")
public class OrderFromDto {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String orderNumber;
    private Integer vipId;
    @TableField(exist = false)
    private String vipNickName;
    @TableField(exist = false)
    private Integer vipPhone;
    @TableField(exist = false)
    private Integer vipOrderSum;
    private BigDecimal orderAmount;
    private BigDecimal actualPayment;
    private String paymentMethod;
    private LocalDateTime addTime;
    @TableField(exist = false)
    private LocalDateTime startTime;
    @TableField(exist = false)
    private LocalDateTime endTime;
    private LocalDateTime reservationPickupTime;
    private String orderStatus;
    private BigDecimal pointsDeductionAmount;
    private String orderRemark;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;

}
